<template>
  <div>
    <div v-on:dblclick="minify" style="text-align: left;">
      <div style="text-align: left;">
        <Action
          v-for="actionId in actionKeys"
          :identifier="actionId"
          :key="actionId"
        ></Action>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import WindowController from "../components/WindowController.vue";
import Action from "../components/Action.vue";
import Component from "vue-class-component";
import { Identifier } from "../tools/identifier";

@Component({
  components: {
    Action
  }
})
export default class Switches extends WindowController {
  actionKeys: Identifier[] = [];

  mounted() {
    this.$proxy.getKeys("Switches").then(keys => {
      this.actionKeys = keys;
    });
  }
}
</script>

<style scoped></style>
